.class Lcom/xingbook/cinema/activity/o;
.super Landroid/os/Handler;


# instance fields
.field private a:Ljava/lang/ref/WeakReference;


# direct methods
.method constructor <init>(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)V
    .locals 1

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/xingbook/cinema/activity/o;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 8

    const/4 v3, 0x1

    const/4 v7, 0x0

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/xingbook/cinema/activity/o;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    move-object v6, v0

    check-cast v6, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;

    if-nez v6, :cond_0

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    :goto_0
    return-void

    :cond_0
    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :cond_1
    :goto_1
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    goto :goto_0

    :pswitch_0
    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->a(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0, v7}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->a(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Landroid/widget/ListView;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setVisibility(I)V

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->b(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/park/ui/p;

    move-result-object v0

    invoke-virtual {v0, v7}, Lcom/xingbook/park/ui/p;->a(Ljava/lang/String;)V

    goto :goto_1

    :pswitch_1
    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->c(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/b/o;

    move-result-object v0

    if-eqz v0, :cond_3

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->b(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/park/ui/p;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/park/ui/p;->b()V

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->d(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->c(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/b/o;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/b/o;->aa()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_2

    const-string v0, ""

    :goto_2
    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->e(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Landroid/widget/TextView;

    move-result-object v0

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->c(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/b/o;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/b/o;->A()J

    move-result-wide v1

    invoke-static {v1, v2}, Lcn/a/a/d/j;->a(J)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->f(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Landroid/widget/TextView;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->c(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/b/o;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/b/o;->ab()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "\u300e\u70b9\u51fb\u67e5\u770b\u8be6\u60c5\u300f"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->g(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/park/ui/l;

    move-result-object v0

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->c(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/b/o;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/b/o;->u()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/ui/l;->setTitle(Ljava/lang/String;)V

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->h(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Landroid/widget/TextView;

    move-result-object v0

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->c(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/b/o;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/b/o;->x()I

    move-result v1

    invoke-static {v1}, Lcn/a/a/d/j;->a(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->i(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Landroid/widget/TextView;

    move-result-object v0

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->c(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/b/o;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/b/o;->u()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->j(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Landroid/widget/ImageView;

    move-result-object v0

    sget-object v1, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->c(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/b/o;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/xingbook/b/o;->d(Z)Ljava/lang/String;

    move-result-object v0

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->j(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Landroid/widget/ImageView;

    move-result-object v1

    const/4 v2, -0x1

    const/4 v5, 0x0

    invoke-static/range {v0 .. v5}, Lcom/xingbook/c/k;->a(Ljava/lang/String;Landroid/widget/ImageView;IZZF)V

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->a(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/widget/ListView;->setVisibility(I)V

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->k(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/cinema/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/cinema/a/a;->j()Lcom/xingbook/park/c/a/o;

    move-result-object v0

    invoke-virtual {v0, v4, v7}, Lcom/xingbook/park/c/a/o;->a(ZLjava/lang/String;)V

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->k(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/cinema/a/a;

    move-result-object v0

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->c(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/b/o;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/b/o;->h()Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/cinema/a/a;->a(Ljava/util/ArrayList;)V

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->a(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Landroid/widget/ListView;

    move-result-object v0

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->k(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/cinema/a/a;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    if-eqz v0, :cond_1

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    instance-of v0, v0, Ljava/lang/String;

    if-eqz v0, :cond_1

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Ljava/lang/String;

    invoke-static {v6, v0, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :cond_2
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v2, "\u00a9"

    invoke-direct {v0, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->c(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/b/o;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/b/o;->aa()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_2

    :cond_3
    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->b(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/park/ui/p;

    move-result-object v0

    const-string v1, "!-_-\u52a0\u8f7d\u5931\u8d25\uff1a\u6570\u636e\u4e3a\u7a7a,\u8f7b\u89e6\u5c4f\u5e55\u91cd\u8bd5\uff01"

    invoke-virtual {v0, v1}, Lcom/xingbook/park/ui/p;->b(Ljava/lang/String;)V

    goto/16 :goto_1

    :pswitch_2
    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->b(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/park/ui/p;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "!-_-\u52a0\u8f7d\u5931\u8d25\uff1a"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ",\u8f7b\u89e6\u5c4f\u5e55\u91cd\u8bd5\uff01"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/ui/p;->b(Ljava/lang/String;)V

    goto/16 :goto_1

    :pswitch_3
    invoke-static {v6}, Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;->b(Lcom/xingbook/cinema/activity/XingVideoSeriesDetailActivity;)Lcom/xingbook/park/ui/p;

    move-result-object v0

    const-string v1, "!-_-\u7531\u4e8e\u7f51\u7edc\u539f\u56e0\u52a0\u8f7d\u5931\u8d25\uff0c\u8bf7\u68c0\u67e5\u7f51\u7edc\u540e\u91cd\u8bd5\uff01"

    invoke-virtual {v0, v1}, Lcom/xingbook/park/ui/p;->b(Ljava/lang/String;)V

    goto/16 :goto_1

    :pswitch_4
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    if-eqz v0, :cond_1

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    instance-of v0, v0, Ljava/lang/String;

    if-eqz v0, :cond_1

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Ljava/lang/String;

    iget v1, p1, Landroid/os/Message;->arg1:I

    invoke-static {v6, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
    .end packed-switch
.end method
